package com.smz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smz.dao.TWarningDAO;
import com.smz.entity.TWarning;
import com.smz.service.TWarningService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TWarningServiceImpl extends ServiceImpl<TWarningDAO, TWarning> implements TWarningService {
    @Autowired
    private TWarningDAO tWarningDao;

    @Override
    public List<TWarning> findTWarningByTMenuNoGgy(Integer tMenuNo,Integer tProductId,String tProductName) {
        return tWarningDao.selectTWarningBytMenuNoGgy(tMenuNo,tProductId,tProductName);
    }
}
